#!/bin/sh

#ensuite on met le ear comme il faut
case $1 in
  clean)
  	ant clean
  	;;
  compil-all)
  	ant clean
  	ant
	jonas admin -r worplacement.ear
  	jonas admin -a worplacement.ear
   	;;
   compil)
  	ant clean
  	ant
  	jonas admin -a worplacement.ear
    ;;
   start)
   	jonas start
   	;;
   stop)
   	jonas admin -r worplacement.ear
   	jonas stop
   	;;
   install)
	ant install
	jonas admin -r workplacement.ear
	jonas admin -a workplacement.ear
esac

